package com.DAO;

import java.sql.Date;
import java.sql.Time;

public class Mybook {
    private int book_id;
    private String book_name;
    private String person_name;
    private String price;
    private Time book_date;
    private String press;

    public Mybook() {
    }

    public int getBook_id() {
        return book_id;
    }

    public void setBook_id(int book_id) {
        this.book_id = book_id;
    }

    public String getBook_name() {
        return book_name;
    }

    public void setBook_name(String book_name) {
        this.book_name = book_name;
    }

    public String getPerson_name() {
        return person_name;
    }

    public void setPerson_name(String person_name) {
        this.person_name = person_name;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public Time getBook_date() {
        return book_date;
    }

    public void setBook_date(Time book_date) {
        this.book_date = book_date;
    }

    public String getPress() {
        return press;
    }

    public void setPress(String press) {
        this.press = press;
    }

    public Mybook(int book_id, String book_name, String person_name, String price, Time book_date, String press) {
        this.book_id = book_id;
        this.book_name = book_name;
        this.person_name = person_name;
        this.price = price;
        this.book_date = book_date;
        this.press = press;
    }

    @Override
    public String toString() {
        return "Mybook{" +
                "book_id=" + book_id +
                ", book_name='" + book_name + '\'' +
                ", person_name='" + person_name + '\'' +
                ", price='" + price + '\'' +
                ", book_date=" + book_date +
                ", press='" + press + '\'' +
                '}';
    }
}
